Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug in QuadraticFormNetwork constructor when no operator present #169

Merged
merged 1 commit into from
May 7, 2024

Conversation

JoeyT1994
Copy link
Contributor

This PR fixes a bug in the QuadraticFormNetwork(ket::AbstractITensorNetwork; kwarg...) constructor where a bra variable was being passed that doesn't exist.

This PR should fix that and adds a quick test for the above constructor so that it would get caught in the future.

@mtfishman mtfishman changed the title Fix bug in qf constructor when no operator present Fix bug in QuadraticFormNetwork constructor when no operator present May 7, 2024
@mtfishman mtfishman merged commit d18a61f into ITensor:main May 7, 2024
5 of 6 checks passed
@mtfishman
Copy link
Member

Thanks!

@JoeyT1994 JoeyT1994 deleted the quadratic_form_bugfix branch June 16, 2024 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants